﻿using AutoMapper;
using B.S.BaseData.Domain;
using B.S.BaseData.Read.API.Application.Command;
using B.S.BaseData.Read.API.Dtos;

namespace B.S.BaseData.Read.API
{
    /// <summary>
    /// dto映射
    /// </summary>
    public class AutoMapperFile : Profile
    {
        public AutoMapperFile() 
        {
          CreateMap<GoodsDTO,GoodsInfoQueryCommand>().ReverseMap();
          CreateMap<BreedingInfo,BreedingQueryCommand>().ReverseMap();
        }
    }
}
